Optimal. Leaf size=115 \[ \frac {3 b B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \, _2F_1\left (-\frac {1}{6},\frac {1}{2};\frac {5}{6};\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}-\frac {3 A b^2 \sin (c+d x) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right )}{2 d \sqrt {\sin ^2(c+d x)} (b \sec (c+d x))^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.138, Rules used = {16, 3787, 3772, 2643} \[ \frac {3 b B \sin (c+d x) \sqrt [3]{b \sec (c+d x)} \, _2F_1\left (-\frac {1}{6},\frac {1}{2};\frac {5}{6};\cos ^2(c+d x)\right )}{d \sqrt {\sin ^2(c+d x)}}-\frac {3 A b^2 \sin (c+d x) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right )}{2 d \sqrt {\sin ^2(c+d x)} (b \sec (c+d x))^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 3772
Rule 3787
Rubi steps
\begin {align*} \int \cos (c+d x) (b \sec (c+d x))^{4/3} (A+B \sec (c+d x)) \, dx &=b \int \sqrt [3]{b \sec (c+d x)} (A+B \sec (c+d x)) \, dx\\ &=(A b) \int \sqrt [3]{b \sec (c+d x)} \, dx+B \int (b \sec (c+d x))^{4/3} \, dx\\ &=\left (A b \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)}\right ) \int \frac {1}{\sqrt [3]{\frac {\cos (c+d x)}{b}}} \, dx+\left (B \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{4/3}} \, dx\\ &=\frac {3 b B \, _2F_1\left (-\frac {1}{6},\frac {1}{2};\frac {5}{6};\cos ^2(c+d x)\right ) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{d \sqrt {\sin ^2(c+d x)}}-\frac {3 A b \cos (c+d x) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\cos ^2(c+d x)\right ) \sqrt [3]{b \sec (c+d x)} \sin (c+d x)}{2 d \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.12, size = 87, normalized size = 0.76 \[ \frac {3 \sqrt {-\tan ^2(c+d x)} \cot (c+d x) (b \sec (c+d x))^{4/3} \left (4 A \cos (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\sec ^2(c+d x)\right )+B \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {5}{3};\sec ^2(c+d x)\right )\right )}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (B b \cos \left (d x + c\right ) \sec \left (d x + c\right )^{2} + A b \cos \left (d x + c\right ) \sec \left (d x + c\right )\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {1}{3}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \cos \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 2.16, size = 0, normalized size = 0.00 \[ \int \cos \left (d x +c \right ) \left (b \sec \left (d x +c \right )\right )^{\frac {4}{3}} \left (A +B \sec \left (d x +c \right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \cos \left (d x + c\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \cos \left (c+d\,x\right )\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}\right )\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{4/3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________